home *** CD-ROM | disk | FTP | other *** search
- QMan V1.01 - another tool for help files
- ------------------------------------------
-
- Distribution:
- ~~~~~~~~~~~~
- QMan is FREEWARE. In short, you may copy it freely and use it as much
- as you want, providing that, if redistibuted, all files remain unchanged.
- The author claims copyright. The software is provided "As Is", which means
- that no warranties of any kind are given. The author can not be held responsible
- for any damages the use of these files may cause. However, QMan was extensively
- tested using the Enforcer/Mungwall/Sushi combination, and was found to be
- clean (no, you may NOT sue me if you get an enforcer-hit using QMan...)
-
- Programming and testing was done on an A4000-040, 6Mb, 120Mb IDE + 105Mb
- Quantum LPS SCSI drives. Should run without problems on any Kickstart 2.x
- or 3.x system.
-
- QMan was compiled with the excellent SAS/C V6.3 devlopement system.
-
- QMan what?
- ~~~~~~~~~~
- QMan is a man-page launcher, like MAN (®1993 Kai Iske/Gunthersoft).
- Having used MAN for a while, I was getting tired of having to keep all
- my helpfiles in specific directories. Maybe there is other approach to this
- problem? The solution may be QMan.
-
- QMan uses the quicktools.library (©1993 Eivind Nordseth/Ultima Thule Software)
- and the quicktools.files database. This is not an option, either use quicktools
- or don't use QMan. Anyway, if you don't have a copy of the brilliant Quicktools
- package, get it and install it! Now, all you have to do is call QMan with the
- following complex syntax:
-
- QMan MANPAGE/A
-
- QMan uses some environment variables to specify the textviewer to use. If
- QMan don't find the variables, it uses the default settings. These are:
-
- *Variable* *For* *Default setting*
- ------------ ---------------- -----------------------
- QMANVIEWER Text files Sys/Utilities/Multiview
- QMANVIEWERAG AmigaGuide files Sys/Utilities/Multiview
- QMANPATTERN Filesuffixfilter .(doc|guide|man)
- ------------ ---------------- -----------------------
-
- The filesuffixfilter is appended to the searchstring MANPAGE, so keep in
- mind that a filter like #?(.doc|.guide) may display the mandelbrot.doc file
- in addition to the mandel.doc file you wanted to read. An additional
- feature of QMan is the abitity to display multiple files in one call. For
- example, QMan ar#? may display all docs starting with "ar".
-
- For those of you not familiar with AmigaDOS, here's a quick tutorial:
- ---------------------------------------------------------------------
- Environment variables may be set the following way: setenv <variable> <statement>
-
- If you use QMan a lot, you may want to include the defenitions in your
- user-startup file like this:
-
- .
- .
- setenv QMANPATTERN .(doc|guide|dok|gui|man|ascii|txt) ; Just examples
- setenv QMANVIEWER C:most ; Edit these as
- setenv QMANVIEWERAG sys:utilities/multiview ; you like.
- .
- .
-
- Examples:
- ~~~~~~~~~
- You have set QMANVIEWER to c:muchmore and QMANPATTERN to .(doc|guide).
- QMANVIEWERAG is not specified.
-
- Now, there are files on your harddisk named as follows:
-
- Sys:text/AmigaGuide.guide
- Sys:Locale/Help/english/NComm.man
- Work:help/QMan.doc
- Work:help/ACalc.doc
- Work:CX/Toolmanager.guide
-
- The following actions will produce the results:
- -----------------------------------------------
- QMan NComm -> No manpage found, because .man suffixes is not included
- in the QMANPATTERN variable.
- QMan Am#? -> Starts muchmore with AmigaGuide.guide.
- QMan A#? -> muchmore <- AmigaGuide.guide, then muchmore <- ACalc.doc
- QMan #?A#? -> Displays all the manualpages one after the other.
-
-
- Bugs:
- ~~~~
- Files with double suffixes may be displayed, so that files which match
- patterns like #?.doc.index is concidered manpages and sent as argument to
- the viewer. This seldom causes any trouble, though.
-
-
- History:
- ~~~~~~~~
- V1.01 Fixed a mismatched FreeMem(). Gave away 3 bytes more than I got...
- V1.00 System crashed when trying something like QMan >NIL: <manpage>.
- Rewrote a piece of the I/O-handling routine, and whoila!
- V0.99 Full of those creatures no one likes - BUGS!
-
-
- Future:
- ~~~~~~
- Will fix bugs if anyone finds them (I've tried to hide them well :-)
- Currently I'm working on a manviewer for WorkBench, a commodity with
- an extensive set of ARexx commands. There will be an option to use the
- quicktools file database in that one too.
-
-
- Author:
- ~~~~~~
- Torgeir Hovden, studying computer science at the Norwegian Institute of Technology
- (or was that in front of his Amiga?).
- Contact me if you like the program, have found bugs, have suggesions for future
- releases or just want to chat...
-
- Torgeir Hovden
- Moholt Alle 20-62
- N-7035 TRONDHEIM
- NORWAY
-
- OR
-
- email: hovden@stud.unit.no
-
- ------------------------------------------------------------------------------
- If builders built buildings the way programmers write programs, the first
- woodpecker would destroy civilization...
- ------------------------------------------------------------------------------
-